const arr=[4,5];
const arr1=[1,2,3,4,5,...arr];
console.log(arr1);